﻿using System;
using System.Collections.Generic;
using Turquoise.Exceptions.Abstract;
using Turquoise.Validation.Entities;

namespace Turquoise.Exceptions
{
    public class ValidationException : BaseException
    {
        private List<TurquoiseValidationResult> _validationResult;

        public List<TurquoiseValidationResult> ValidationResult
        {
            get
            {
                return _validationResult ?? (_validationResult = new List<TurquoiseValidationResult>());
            }
            set
            {
                _validationResult = value;
            }
        }

        public ValidationException()
        {

        }

        public ValidationException(string message) : base(message)
        {

        }

        public ValidationException(string message, Exception innerException) : base(message, innerException)
        {

        }
    }
}
